Skip to content

Feat: Align generated Codex and Pi default model with launcher - #258

Merged
AarushiShah-db merged 2 commits into
databricks:mainfrom
anthonyivn2:fix/align-default-codex-model-source
Aug 4, 2026
Merged

Feat: Align generated Codex and Pi default model with launcher#258
AarushiShah-db merged 2 commits into
databricks:mainfrom
anthonyivn2:fix/align-default-codex-model-source

Conversation

@anthonyivn2

Copy link
Copy Markdown
Contributor

Summary

  • generate agents.codex.model with the canonical Codex default-model selector instead of the first discovered model
  • generate agents.pi.model with Pi’s own default-model selector to keep state and launcher behavior aligned
  • preserve normalized model containers when dispatching default selection

Testing

  • uv run pytest tests/test_state.py tests/test_agent_codex.py tests/test_agent_pi.py tests/test_agents_init.py
  • uv run ruff check src/ucode/state.py tests/test_state.py
  • git diff --check

@anthonyivn2 anthonyivn2 changed the title Align generated Codex default model with launcher Align generated Codex and Pi default model with launcher Aug 2, 2026
@anthonyivn2 anthonyivn2 changed the title Align generated Codex and Pi default model with launcher Feat: Align generated Codex and Pi default model with launcher Aug 2, 2026
@anthonyivn2
anthonyivn2 marked this pull request as ready for review August 2, 2026 12:41
@anthonyivn2

Copy link
Copy Markdown
Contributor Author

@rohita5l can I get you or someone from the team to help review this?

@AarushiShah-db
AarushiShah-db merged commit 4e484f9 into databricks:main Aug 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants